<?php
mysql_connect("localhost:3306","root","root");
mysql_select_db("test");
//mysql_query("create table if not exist user(id int auto_increment primary key,name varchar(255))");
mysql_query("insert into user(name) values('xiu')");
$result = mysql_query("select * from user");
while ($rs=mysql_fetch_array($result,MYSQL_ASSOC)){
	print_r($rs);
}
